import request from '@/utils/request'
export function sentFenl(data) {
    return request({
        url: "/MiniOfficial/Category/List?expires=1669204809557&sign=97aec3913e9eade3aadc5afec70605ec",
        method: 'post',
        data
    })
}

export function sentPost(data) {
    return request({
        url: "/MiniOfficial/Shop/Index?accountSetSpell=&expires=1668924953415&sign=6a36bb8cd564ab938aa70b463b91570e&userId=3962935",
        method: 'post',
        data
    })
}
export function zhenEnx() {
  
    return request({
        url: "/Product",
        method: 'post',
        
    })
}
// /MiniOfficial/Product/OtherShopRecommendProductTopList?cityName=%E6%B4%9B%E9%98%B3%E5%B8%82&expires=1669359762874&lat=34.619682&lng=112.45404&productId=458345&provinceName=%E6%B2%B3%E5%8D%97%E7%9C%81&sign=b889d6af6677656be98da49dc0bb9990
//这是详情页请求
export function sentGET(data) {
    // console.log(data,'id,sgin');
    console.log(data.id,data.sgin,'idw54646');
    console.log(`/MiniOfficial/Product/Dn?expires=1669360978624&flashSaleId=0&productId=${data.id}&sign=${data.sgin}&userId=0`,'url');
    // console.log(data.sgin,'sginw54646');

    return request({
        // https://api.mall1.zhongjiu.cn/MiniOfficial/Product/OtherShopRecommendProductTopList?cityName=%E9%83%91%E5%B7%9E%E5%B8%82&expires=1669616848248&lat=34.746599&lng=113.625368&productId=675&provinceName=%E6%B2%B3%E5%8D%97%E7%9C%81&sign=bf68fad898e5e76882c69adaa30991ed
        // url:`/MiniOfficial/Product/OtherShopRecommendProductTopList?cityName=%E9%83%91%E5%B7%9E%E5%B8%82&expires=1669617952464&lat=34.746599&lng=113.625368&productId=${data.id}&provinceName=%E6%B2%B3%E5%8D%97%E7%9C%81&sign=21d24c7dbfb87619a205f085b1990130`,
        // url:`/MiniOfficial/Product/Dn?expires=1669360978624&flashSaleId=0&productId=${data.id}&sign=c9907d7fa916546c37c5bb6e83af717b&userId=0`,
        url:`/MiniOfficial/Product/Dn?expires=1669360978624&flashSaleId=0&productId=${data.id}&sign=${data.sgin}&userId=0`,
        method: 'GET',
        
    })
}